﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AG.Data;
using System.Drawing;

namespace AGMapEditor.Controls
{
    public partial class AGEMapPanel
    {
        private bool _isFlagCtrlKeyDown = false;

        private void OnUpdate4EditObject()
        {
            if (_isFlagCtrlKeyDown && SelectedObject != null)
            {
                SelectedObject.PosRow = (ushort)CurPos.X;
                SelectedObject.PosCol = (ushort)CurPos.Y;
            }
        }
    }
}
